{extend name="public:_base" /}

{block name="css"}
{CSS href="__STATIC__/w/admin_base.css" /}
{CSS href="__STATIC__/w/laydate.css" /}
{CSS href="__STATIC__/w/layui.css" /}
{CSS href="__STATIC__/w/divtable.css" /}
{/block}

{block name="js"}
{include file="public/_validform"}
{js href='__STATIC__/w/jquery1110min.js' /}
{js href='__STATIC__/w/layui.js' /}
{/block}

{block name="main"}
<div class="layui-form layui-form-cont" style="padding-top: 80px;">

    <div>
        <ul class="content-reply-box mg10">
            <li class="odd">
                <a class="user" href="#">
                    <img class="img-responsive avatar_" src="images/avatar-1.png" alt="">
                    <span class="user-name">[用户]</span>
                </a>

                <div class="reply-content-box">
                    <span class="reply-time">{$data.create_time}</span>
                    <div class="reply-content pr">
                        <span class="arrow">&nbsp;</span>
                        {$data.center}
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <div class="layui-form-title" style="margin-bottom: 25px;">
        对话列表
    </div>

    <form action="" method="post" class="form form-horizontal" id="form">

        <div class="read-cont">
            <ul class="content-reply-box mg10">
                {volist name="list" id="vo"}
                {neq  name="$vo.adminname" value=""}
                <li class="even">
                    <a class="user" href="#">
                        <span class="user-name">[{$vo.adminname}]</span>
                    </a>

                    <div class="reply-content-box">
                        <span class="reply-time">{$vo.create_time|date="Y-m-d H:i:s",###}</span>
                        <div class="reply-content pr">
                            <span class="arrow">&nbsp;</span>
                            {$vo.center}
                        </div>
                    </div>
                </li>
                {else/}
                <li class="odd">
                    <a class="user" href="#">
                        <span class="user-name">[用户]</span>
                    </a>

                    <div class="reply-content-box">
                        <span class="reply-time">{$vo.create_time|date="Y-m-d H:i:s",###}</span>
                        <div class="reply-content pr">
                            <span class="arrow">&nbsp;</span>
                            {$vo.center}
                        </div>
                    </div>
                </li>
                {/neq}
                {/volist}
            </ul>
        </div>

        <div class="layui-form-title">
            回复信息
        </div>

        <div class="read-tarea">
            <textarea name="center" class="textarea"></textarea>
        </div>

        <div class="read-btn">
            <input name="id" value="{$data.id}" type="hidden"/>
            <button type="submit" class="layui-btn">立即提交</button>
        </div>

    </form>
</div>
{/block}
